import base from '@/api/baseurl'
import request from '@/utils/request'


/**
 * 
 * @param {*} query
 * @returns
 */
export function findAccountCompositionFactors(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/AccountCompositionFactor/findAccountCompositionFactors',
    method: 'get',
    params: query
  })
}

export function addAccountCompositionFactors(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/AccountCompositionFactor/addAccountCompositionFactors',
    method: 'post',
    data
  })
}


export function updateAccountCompositionFactors(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/AccountCompositionFactor/updateAccountCompositionFactors',
    method: 'post',
    data
  })
}

//单行删除
export function deleteAccountCompositionFactors(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/AccountCompositionFactor/deleteAccountCompositionFactors',
    method: 'get',
    params: query
  })
}
export function findwhsymbol(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/AccountCompositionFactor/findwhsymbol',
    method: 'get',
    params: query
  })
}
export function findrtsymbol(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/AccountCompositionFactor/findrtsymbol',
    method: 'get',
    params: query
  })
}

